﻿using System;
using System.Collections;
using System.Collections.Generic;
using TrueSync;
using Network;
[System.Serializable]
public class DeadState : StateBase
{
    public override StateEnum StateName { get { return StateEnum.Dead; } }

    public override void Enter(LogicEntity lEntity, StateBase lastState, object[] stateParams)
    {
        base.Enter(lEntity, lastState, stateParams);
        mLEntity.GetLogicComponent<LogicMoveComponent>().MoveSpeed = TSVector2.zero;
    }

    public override void OnStimulate(Stimulate stimulate)
    {

    }

}
